Skip to main content

Swift Payment

The swiftPayment API enables to process the transaction with transaction information in MT103 format, which the receiving banks can easily interpret the transaction information.

Method: POST

{{localCEUrl}}/analytics/rest/eventApi/event

Headers

NameValue
Content-Typeapplication/json

Example

Payload Parameters
ParameterDescription

mt103

Mandatory

String

SWIFT payment message for cross border payments

Example – "MT103 details"

Risk

Optional

Object

MachineFingerPrint

Optional

Object

IpAddress

Optional

String

IP address of the device from which the transaction is initiated

Example – "98.186.126.180"

MacAddress

Optional

String

Unique identifier assigned to a network interface controller

Example – "00-00-00-00-00-00-00"

OperatingSystem

Optional

String

Operating system of the device

Example – "Mac OS"

WebBrowser

Optional

String

Web browser used for transaction

Example – "Chrome"

SessionId

Optional

String

Unique identifier that a web server assigns to a user for the duration of the current session

Example – "00000000000000000"


curl --location --globoff '{{localCEUrl}}/analytics/rest/eventApi/event' \
--header 'Content-Type: application/json' \
--data '{"mt103":"{1:F01BCMRMXMMAXXX0000000000}\n{2:I103USBBUS44XXXXN}\n{4:\n:20:USB_SWIFT_20200716_02\n:23B:CRED\n:32A:200630USD1,00\n:33B:USD510,00\n:50K:/188499775\nGREAT TEHRAN PENITENTIERY\n123 SESAME STREET\nNEW YORK CITY, NY 10036\nCNY\n:53B:/200192588424191\n:57D://FW021000022\n:59:/633285530\nSome Recipient\n123 AVENUE A\nNEW YORK, NY 10036\nCNY\n:70:BILAL Sending money to Muhammad\n:71A:OUR\n-}","Risk":{"MachineFingerPrint":{"IpAddress":"192.168.0.1","MacAddress":"00-00-00-00-00-00-00","OperatingSystem":"Mac OS","WebBrowser":"Chrome","SessionId":"00000000000000000"}}}'

Body


{
"mt103": "{1:F01BCMRMXMMAXXX0000000000}{2:I103USBBUS44XXXXN}{4::20:USB_SWIFT_20200716_02:23B:CRED:32A:200630USD1,00:33B:USD510,00:50K:/188499775GREAT TEHRAN PENITENTIERY123 SESAME STREETNEW YORK CITY, NY 10036CNY:53B:/200192588424191:57D://FW021000022:59:/633285530Some Recipient123 AVENUE ANEW YORK, NY 10036CNY:70:BILAL Sending money to Muhammad:71A:OUR-}",
"Risk": {
"MachineFingerPrint": {
"IpAddress": "192.168.0.1",
"MacAddress": "00-00-00-00-00-00-00",
"OperatingSystem": "Mac OS",
"WebBrowser": "Chrome",
"SessionId": "00000000000000000"
}
}
}

Response: 200

Payload Parameters
ParameterDescription

id

String

ID of the request

Example – "da3d4b2a-b685-4edc-9e8a-55fe2a28d584"

jsonrpc

String

JSON-RPC version used for the API

Example – "2.0"

method

String

API method

Example – "ce.swift-event"

result

Object

resp

String

Type of response

Example – "event"

status

String

Status of the event

Example – "1"

riskScore

Number

Estimated Risk score of the transaction

Example – 76

signalScore

Number

Signal reliability score of the transaction

Example – 0

scenarioScore

Number

Score of specific scenarios related to the transaction event

Example – 0

tokenScore

Number

Score of token authentication used in the transaction

Example – 0

categoryScore

Number

Event category score of transaction

Example – 0

ofacConfidentScore

Number

Estimated score of compliance with OFAC regulations

Example – 76

matchedScenarios

Object

Risk Scenarios that matches for this transaction

Example –

matchedTokens

Null

Tokens that matches for this transaction

Example – null

matchedCategories

Object

Risk categories that matches for this transaction

Example –

riskDetails

Array

Array of various risk details

Example – []

debtorProfileId

Null

Unique ID of debtor profile

Example –null

creditorProfileId

Null

Unique ID of creditor profile

Example –null

error

Null

Shows information, if any error occurs during transaction

Example – null


{
"id": "da3d4b2a-b685-4edc-9e8a-55fe2a28d584",
"jsonrpc": "2.0",
"method": "ce.swift-event",
"result": {
"resp": "event",
"status": "1",
"riskScore": 76,
"signalScore": 0,
"scenarioScore": 0,
"tokenScore": 0,
"categoryScore": 0,
"ofacConfidentScore": 76,
"matchedScenarios": {},
"matchedTokens": null,
"matchedCategories": {},
"riskDetails": [],
"debtorProfileId": null,
"creditorProfile": null
},
"error": null
}